<?php

class leftMenuWidgetComponents extends myComponents
{
  static $nodes = false;
  # renders second and third level of menu
  public function executeRender(){
		$menu = NavigationMenu::getInstance(NavigationMenu::DEFAULT_MENU);
		$this->actElement = null;
		
		foreach($menu->getElements() as $elm){
			if($elm->isActive()){
				$this->actElement = $elm;
			}
		}

		

  }
}